"""
docker run -dti --network=host --name tracker -v /var/fdfs/tracker:/var/fdfs delron/fastdfs tracker
docker run -dti --network=host --name storage -e TRACKER_SERVER=192.168.19.128:22122 -v /var/fdfs/storage:/var/fdfs delron/fastdfs storage
docker container start tracker
docker container start storage
sudo docker run -dti --network=host --name tracker -v /var/fdfs/tracker:/var/fdfs delron/fastdfs tracker
sudo docker container rm -f storage
sudo docker run -dti --network=host --name storage -e TRACKER_SERVER=192.168.19.138:22122 -v /var/fdfs/storage:/var/fdfs delron/fastdfs storage
sudo docker container start tracker
sudo docker container start storage
"""
"""
from fdfs_client.client import Fdfs_client
# 1.创建我们的客户端,需要让客户端加载配置文件
client = Fdfs_client('utils/fdfs/client.conf')
# 2.调用上传图片的方法
client.upload_by_filename('/home/ubuntu/Desktop/fan/dm1.jpg')
"""
# http://192.168.19.137:8888/group1/M00/00/00/wKgTiWC3IYCAQOIgAAIGdb-jvGg382.jpg